import { defineStore } from "pinia";
// import { getQrcode } from "../api/fis"
import { getQrcode } from "@/api/fis"
import { ref } from "vue";
export const useQrcodeStore = defineStore("qrcode", () => {
    let qrcodeData = ref("")
    const funGetQrcode = async (uuid) => {
        let res = await getQrcode(uuid)
        // let resjson = JSON.parse(res)
        qrcodeData.value = res
        // console.log("11111111", qrcodeData.value);

        // console.log("33333333", qrcodeData.value);

    }
    return { qrcodeData, funGetQrcode }
});